package com.ccgk.logistics.util;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Random;

public class ToolUtil {
	/**
	 *  生成订单编号方法
	 * @return
	 */
	public static String getOrderCode(){
		 Random random = new Random(System.currentTimeMillis());
		return new SimpleDateFormat("yyyyMMdd").format(new Date())+random.nextInt();
	}
}
